package net.modul.customer.service;

import net.common.service.GeneralService;
import net.modul.customer.dao.CustomerDao;
import net.modul.customer.dao.impl.CustomerDaoImpl;
import net.modul.customer.vo.CustomerVo;

/**
 * 客户删除业务处理
 * 
 * @author Administrator
 * 
 */
public class CustomerDeleteService extends GeneralService {

	private CustomerVo bean;

	@Override
	public void execute() throws Exception {
		CustomerDao dao = new CustomerDaoImpl();
		bean.setFlag(1);
		dao.updateFlag(bean);
	}

	public void setBean(CustomerVo bean) {
		this.bean = bean;
	}

}
